Total Complexity | 12 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 127 |
Lines of code | 61 |
Logical lines of code | 24 |
Comment lines | 44 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_content_from_url() | 50 | 4 | 29 | |
get_error_from_response() | 63 | 2 | 11 | |
download_file() | 68 | 2 | 7 | |
set_download_directory_path() | 66 | 2 | 8 | |
__construct() | 81 | 1 | 3 | |
get_download_directory_path() | 82 | 1 | 3 |